package com.lc.springboot.model;


/**
 * @author lengchuan <lishuijun1992@gmail.com>
 * @date 16-8-24
 */
public class User implements java.io.Serializable {
    private static final long serialVersionUID = 1L;

    private int id;

    private String name;

    private String email;

    private String city;


    public User() {
    }

    public User(int id, String name, String email, String city) {
        this.id = id;
        this.name = name;
        this.email = email;
        this.city = city;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public java.lang.String toString() {
        return "User{" +
                "id=" + id +
                ", name=" + name +
                ", email=" + email +
                ", city=" + city +
                '}';
    }
}
